import Mock from "mockjs";
Mock.setup({
  timeout: "500-1000",
});
Mock.mock("/api/getNav", "get", {
  code: 0,
  msg: "",
  data: [
    { content: "首页", hasContent: false },
    {
      content: "模拟考试",
      hasContent: true,
      ctx: ["科目一", "科目二", "科目三", "科目四"],
    },
    {
      content: "找驾校",
      hasContent: true,
      ctx: ["找驾校", "找教练", "找陪练"],
    },
    { content: "考驾圈", hasContent: false },
    { content: "交通标志", hasContent: false },
    { content: "软件下载", hasContent: false },
    { content: "驾考宝典企业版", hasContent: false },
    { content: "智慧驾校", hasContent: false },
    { content: "买新车", hasContent: true, ctx: ["买车网", "平行之家"] },
    { content: "二手车", hasContent: false },
  ],
});
